fix edge bug when overtyping a selection at the start