MouseEventManager: Fix pixel-perfect checks for touchscreens