Fix bug that broke pasting of chars > 127