Fix getting the event dispatcher.