Fixes MouseEvent coordinates