fix mouse move glitch