Fixed #4726:Fix bugs in JSB-moonwarriors