             
     		if (contentGroup.includeInLayout)
     		{
-    			var contentGroupHeight:Number = bottom - top;
+    			var contentGroupHeight:Number = unscaledHeight - top;
     			
     			if (contentGroupHeight < contentGroup.minHeight)
     				contentGroupHeight = contentGroup.minHeight;

    	
        tabBar = new ButtonBar();
        tabBar.requireSelection = true;
        tabBar.height = 40;
        
        actionBar = new ActionBar();
        

    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
    {
        var top:Number = 0;
        var componentHeight:Number;
        
        if (tabBar.includeInLayout)
