[LocationBar] Improved cursor painting when completion popup is visible.