Fixed bug with iOS 7 tab view