Root node now in scene
fixed bugs in the CompositePattern