Fixed Autocomplete popup behaviour when the cursor is near the
bottom of the screen