fixed mouse glitch