SceneStructureWindow: do not try to obtain SceneTreeWidget's UndoManager until scene is set (and UndoManager created).