Get the currently-hovered link in a non-hacky way
Fix behavior when the selected text is also a link