Tiny bugfix

Fixes rendering pass cleanup of dead nodes so they can be removed from
the scene graph.