(EventTargetImp::dispatchEvent) : Fix a bug