Improve text repositioning when searchbar string is modified.