Don't immediately read back clipboard data on OSX
This causes an ASAN error because something in the wx clipboard cache is incorrect (so it tries to copy more data than it has available). Closing the clipboard and reopening to read works (since close clears the cache).