closed #2535: TouchScriptHandlerEntry will release twice lua reference