If you have the setting that "updates imports on paste" enabled, that's probably your issue, see this issue report.