fix pointerevents