Fix component rendering of autocomplete.