With two or more windows, edit-mode undo assumed it was possible to load the undo state into the current scene. When multiple windows are used this is not always the case. Edit-mode undo steps now store the scene used to create them which is used to read undo data back into this scene (when it's shown in a window). Otherwise the current context is used.