[BUG #8577] Respect anonymous targets for all pointer events not only for the tap gesture.