#329 Changed code to check the pointerEvent OR msPointerEvent, not both