fix UI bug on iOS 7 iPhone