[LocationBar] Don't move the cursor to the end if inline completion is empty.