Fix reselection breaks in Chrome when modifying links.