fix highlight broken by scroll.