Fix mouse button handling on windows.