Are you using an infrared mouse? That might explain your issue as the background heat coming from the surface could act as noise drowning out the signal.
Note that my mice, although sensing in the visible spectrum, stopped working completely after heat exposure: