fix occurrence highlighting from single-click