Fix flexible box model for iOS.