Fix copying multiline texts.