Added mouse movements to input handler.