Trouble with mouse movements and clicks