Fixed layout issue in iOS 5