Restores caret selection via content rather than the DOM.