Modify event-propagation logic since some libraries are manipulating the event object