fix #1680 Autocomplete box doesn't work with horizontal scrolling