ui-autocomplete: correct InputConnection behavior