Mouse coordinates transformation fix.