Fix a bug where the nav bar gets lost after searching for on iPad / iOS 7