Fixed compatibility issue with Microsoft mice.