added nonprefix PointerEvents, reworked event checks