             popUpIsDisplayed = true;
             if (popUp is UIComponent && !popUpSizeCaptured)
             {
-				if (FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_5)
-				{
-					UIComponentGlobals.layoutManager.validateClient(UIComponent(popUp), true);
-					popUpWidth = UIComponent(popUp).getExplicitOrMeasuredWidth();
-					popUpHeight = UIComponent(popUp).getExplicitOrMeasuredHeight();
-				}
-				else
-				{
-	                popUpWidth = UIComponent(popUp).explicitWidth;
-	                popUpHeight = UIComponent(popUp).explicitHeight;
-	                UIComponent(popUp).validateNow();
-				}
+                popUpWidth = UIComponent(popUp).explicitWidth;
+                popUpHeight = UIComponent(popUp).explicitHeight;
+                UIComponent(popUp).validateNow();
                 popUpSizeCaptured = true;
             }   
+            
+            applyPopUpTransform(width, height);
         }
         else if (DisplayObject(popUp).parent != null && displayPopUp == false)
         {

        if (popUp is UIComponent)
        {
            if (popUpWidthMatchesAnchorWidth)
                UIComponent(popUp).width = popUpWidth = unscaledWidth;
			else if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
                UIComponent(popUp).explicitWidth = popUpWidth;
            
            if (popUpHeightMatchesAnchorHeight)
                UIComponent(popUp).height = popUpHeight = unscaledHeight;
			else if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_5)
                UIComponent(popUp).explicitHeight = popUpHeight;
            // validate now because the popup is higher in the nest level than the 
            // PopUpAnchor
            UIComponent(popUp).validateNow();
        }
        else
        {

import flash.geom.Point;
import flash.geom.Rectangle;

import mx.core.IFlexDisplayObject;
import mx.core.IUIComponent;
import mx.core.LayoutDirection;
import mx.core.UIComponent;
import mx.core.mx_internal;
import mx.managers.PopUpManager;
import mx.styles.ISimpleStyleClient;
