fix mouse movements