 		{
 	        newMat3D.position = globalMat3D.position;
 	        displayObject.transform.matrix3D = newMat3D;
-  		}
+        }
   		else
   		{
   			displayObject.transform.matrix3D = globalMat3D;
-  		}
+    }
         // Translate the bitmap so that the left-top bounds ends up at (0,0)
 		var m:Matrix = new Matrix();
 		m.translate(-topLevelRect.left, - topLevelRect.top);

	        {
	        	var m:Matrix = layoutFeatures.computedMatrix.clone();
	        	// If the displayObject is shared, then put it at 0,0
	        	if (!nextSiblingNeedsDisplayObject)
	        	{
	        		m.tx = 0;
	        		m.ty = 0;

                maskTypeChanged = false;
                applyMaskType();
            }
            
            // If we don't share the DisplayObject, set the property directly.
            if (displayObjectChanged && shareIndex == -1)
                displayObject.visible = _visible;

            updateTransform = true;
            displayObjectChanged = false;
        }

        if (visibleChanged)
        {
            visibleChanged = false;
            
            // If we don't share the DisplayObject, set the property directly,
            // otherwise redraw.
            if (shareIndex == -1)
                displayObject.visible = _visible;
            else
                invalidateDisplayList();
        }

        if ((layoutFeatures == null || layoutFeatures.updatePending) ||
            updateTransform)
        {
