Fix clipboard uploading for text.