mac: fix issues with plot copy to clipboard