Fixed a bug where an empty bar would appear

If we resignResponder, then give firstResponder to the textField again,
an empty bar will appear if the suggestionList is empty.