Fixed #12845 adding a listener to an event that is currently being dispa...

...tched will not result into a fatal error in TraceableEventDispatcher [EventDispatcher]