Added line to stop overwriting when pasting over selection.