If it's a wireless mouse try moving the receiver closer to the mouse or replacing the battery. I've had weird issues with clicking becoming inconsistent when the receiver has fallen off the back of my keyboard shelf and is left dangling.