Fix copying selection to clipboard.

Caveat: Copies lines, not just the selection.