3D and viewport fix
Fix iOS rounding issue