Fix crash on iPhone 6