Fix for typeahead getting cut off