Editor redo bug fix.