             actionBarHeight = actionBar.getLayoutBoundsHeight();
         }
         
+        // If the hostComponent is in overlay mode, the contentGroup extends
+        // the entire bounds of the navigator and the alpha for the action 
+        // bar changes
+        // If this changes, also update validateEstimatedSizesOfChild
+        var contentGroupHeight:Number = 0;
+        
         if (contentGroup.includeInLayout)
         {
-            // If the hostComponent is in overlay mode, the contentGroup extends
-            // the entire bounds of the navigator and the alpha for the action 
-            // bar changes
-            // If this changes, also update validateEstimatedSizesOfChild
-            var contentGroupHeight:Number = Math.max(unscaledHeight - actionBarHeight - gap, 0);
+            contentGroupHeight = Math.max(unscaledHeight - actionBarHeight - gap, 0);
             
             setElementSize(contentGroup, unscaledWidth, contentGroupHeight);
             setElementPosition(contentGroup, 0, actionBarHeight + gap);

            setElementSize(contentBackgroundGraphic, unscaledWidth, contentGroupHeight);
            setElementPosition(contentBackgroundGraphic, 0, actionBarHeight + gap);
        }
    }
    
    /**

package spark.skins.mobile
{

import flash.display.Graphics;

import mx.core.DPIClassification;
import mx.core.mx_internal;

import spark.core.SpriteVisualElement;
import spark.skins.mobile160.assets.CalloutContentBackground;
import spark.skins.mobile240.assets.CalloutContentBackground;
