Refactor Pointer Event detection.

Fixed issue on Windows 8.1 where MSPointer events were getting
initialized before normal pointer events.