fix CCScriptEventDispatcher crash