Fix layout issue on iOS 8