fix mouse events firing when the mouse was not clicked