Merge pull request #8735 from dabingnn/v3_OptimizeQuadCommand

V3 optimize quad command
Solve the error effect on iOS.
Merge pull request #8740 from natural-law/v3

Solve the error effect of lua runtime template on iOS.