Fix bug: legacy find breaks in visual mode