Avoid content size being mangled in iOS 7+