Fix selection when hovering short lines.