Fix an issue that cause the input cursor to jump when user types in the search input of a multiple select.