Fixed bug where mousemove was always running