Fix event-handler-might-be-overriden bug.