iOS 3d fixes