Minor iOS 6 fixes