fix simulated events relatedTarget