The Realtime Compositor crashes on undo after an operation like Dissolve node. The compositor evaluator stored a reference to the compositor node tree assuming that it will always be valid. This is not guaranteed, however, and changes to the node tree can invalidate that reference. So we get the node tree from the context directly every time to fix the crash.