Fixed so that the pointer can be moved when no button is pressed.