proper fix for #1758; keep caret position after using autocomplete