Remove unneeded mouse movement