Improved mouse move event on Windows.