Fix for bug affecting search panel on iPhone 5S