Fixed some bugs with the sceneGraph-loading