Fix copy/paste and drag/drop issues.