Fix mouse coordinate system conversion.