searchbar: fix clicking on a tag's close button