     // to captureBitmapData for hit testing.
     mx_internal function set alwaysCreateDisplayObject(value:Boolean):void
     {
-    	if (value != _alwaysCreateDisplayObject)
-    	{
-    		var previous:Boolean = needsDisplayObject;
-		    _alwaysCreateDisplayObject = value;
-	    	if (previous != needsDisplayObject)
-				invalidateDisplayObjectSharing();
-    	}
+        if (value != _alwaysCreateDisplayObject)
+        {
+            var previous:Boolean = needsDisplayObject;
+            _alwaysCreateDisplayObject = value;
+            if (previous != needsDisplayObject)
+                invalidateDisplayObjectSharing();
+        }
     }
     
     mx_internal function get alwaysCreateDisplayObject():Boolean
     {
-    	return _alwaysCreateDisplayObject;
+        return _alwaysCreateDisplayObject;
     }
 
     /**

     */
    private function get3DSnapshot(transparent:Boolean = true, fillColor:uint = 0xFFFFFFFF, useLocalSpace:Boolean = true):BitmapData
    {
    	var topLevel:Sprite = Sprite(IUIComponent(parent).systemManager); 
    	var dispObjParent:DisplayObjectContainer = displayObject.parent;
    	var drawSprite:Sprite = new Sprite();
                
    	// Get the visual bounds of the target in both local and global coordinates
        var topLevelRect:Rectangle = displayObject.getBounds(topLevel);
        var displayObjectRect:Rectangle = displayObject.getBounds(dispObjParent);  
        

            
            var topLevel:Sprite = Sprite(IUIComponent(parent).systemManager);   
            var rectBounds:Rectangle = useLocalSpace ? 
                        new Rectangle(getLayoutBoundsX(), getLayoutBoundsY(), getLayoutBoundsWidth(), getLayoutBoundsHeight()) :
                        displayObject.getBounds(topLevel); 
            var bitmapData:BitmapData = new BitmapData(Math.ceil(rectBounds.width), Math.ceil(rectBounds.height), transparent, fillColor);
 
                
            var m:Matrix = useLocalSpace ? displayObject.transform.matrix : displayObject.transform.concatenatedMatrix;
            
            if (m)
                m.translate(-rectBounds.x, -rectBounds.y);
