Fix mouse events