Fix reference to old editor object on copy/paste detection.