 					);
 					
 					jointMesh.transform.appendUniformScale(.08);
-					target.addChild(jointMesh);
+					joint.addChild(jointMesh);
 					
 					if (boneLength != 0.)
 					{

		}
		
		private function targetAddedHandler(ctrl	: AbstractController,
											target	: Group) : void
		{
			var numChildren : uint = target.numChildren;
			
			for (var i : uint = 0; i < numChildren; ++i)
			{
				var child : Group = target.getChildAt(i) as Group;
				
				if (child != null)
				{

	import aerys.minko.render.material.Material;
	import aerys.minko.render.material.basic.BasicMaterial;
	import aerys.minko.scene.controller.AbstractController;
	import aerys.minko.scene.controller.mesh.skinning.SkinningController;
	import aerys.minko.scene.node.Group;
	import aerys.minko.scene.node.Mesh;
	import aerys.minko.type.enum.DepthTest;
