2.82: fixed an issue where $event->stop does not work