OS X clipboard workaround