closed #3290: The order of onEnter / onExit  work correctly on JSB and LuaBindings.