Adhoc fix for wrong selection on Firefox when creating a link
Replace with faster method to determine whether range is in the editable