Fixed some bugs

Bugs Fixed:
1.Grid disappeared in iPhone5s use ARM64
2.Force type convert problem in iPhone5s use ARM64
Codes Optimized