actual fix for mouse movement