Fixes copy and paste to clipboard