Take into account contentInset when hiding searchBar