 import mx.managers.ISystemManager;
 import mx.managers.IToolTipManagerClient;
 import mx.utils.MatrixUtil;
+
+use namespace mx_internal;
 
 //--------------------------------------
 //  Lifecycle events

        var currentBounds:Rectangle = bounds;
        
        // take secret scale into account as it's our real width/height
        currentBounds.width *= mx_internal::scaleXDueToSizing;
        currentBounds.height *= mx_internal::scaleYDueToSizing;
        
        if (sizeChanged(currentBounds.width, oldWidth) || sizeChanged(currentBounds.height, oldHeight))
        {

        // Afterwards, we'll reset it to the "user-set" scale.
        var oldScaleX:Number = _layoutFeatures.layoutScaleX;
        var oldScaleY:Number = _layoutFeatures.layoutScaleY;
        _layoutFeatures.layoutScaleX = _layoutFeatures.layoutScaleX * scaleXDueToSizing;
        _layoutFeatures.layoutScaleY = _layoutFeatures.layoutScaleY * scaleYDueToSizing;
        
        if(_layoutFeatures.is3D)
        {
