Clean up display when copying to clipboard.