Don't select the copied line when copying with no selection

Addresses concerns about #4148.