Scene tree management fix.