Added the possibility to add spheres or planes with the root node
selected.