Fix crossfade undo using the stateful diff system. Fixes #3257.