Fixes bug in which autocomplete is under overlay