Fix playing back editor and canvas commands.