Removing mouse/touch event dependencies from pointerout and pointerup tests