fix the return problem on UISearchBar's keyboard by Gesture