Corrects an overflow in iOS 7.0