 		 */		
 		public static function eraseDrawings(e:ContextMenuEvent):void
 		{
-			Weave.root.removeObject(PEN_OBJECT_NAME);
+			var linkableContainer:ILinkableContainer = getLinkableContainer(e.mouseTarget);
+			
+			if ( linkableContainer )
+				linkableContainer.getLinkableChildren().removeObject( PEN_OBJECT_NAME );
 			_penToolMenuItem.caption = ENABLE_PEN;
 			_removeDrawingsMenuItem.enabled = false;
 		}

	import weave.Weave;
	import weave.api.WeaveAPI;
	import weave.api.core.IDisposableObject;
	import weave.api.core.ILinkableObject;
	import weave.api.newLinkableChild;
	import weave.core.LinkableNumber;
	import weave.core.LinkableString;
	import weave.core.StageUtils;

		 */		
		public function handleMouseMove(event:MouseEvent):void
		{
			CustomCursorManager.showCursor(CustomCursorManager.PEN_CURSOR, CursorManagerPriority.HIGH, -3, -22); //This is a temporary fix, should be changed if there is another way.
			if( drawing ){
				_coordsArrays[_coordsArrays.length - 1].push(mouseX, mouseY);
				coords.value += '' + mouseX + "," + mouseY + ",";
