fixed a bug with scene graph and seeded region growing