Fix pre-iOS 7 layout