fix selecting text on searchBox when pressing search focus shortcut on searchBox (issue6334)