     			
     			if (contentGroupHeight < contentGroup.minHeight)
     				contentGroupHeight = contentGroup.minHeight;
-    			
+                
+                contentGroup.setLayoutBoundsSize(unscaledWidth, contentGroupHeight);
                 contentGroup.setLayoutBoundsPosition(0, top);
-                contentGroup.setLayoutBoundsSize(unscaledWidth, contentGroupHeight);
     		}
         }
     }

        if (tabBar.includeInLayout)
        {
            tabBar.alpha = .5;
            componentHeight = tabBar.getExplicitOrMeasuredHeight();
            tabBar.setLayoutBoundsSize(unscaledWidth, componentHeight);
            tabBar.setLayoutBoundsPosition(0, top);
            

        if (actionBar.includeInLayout)
        {
            actionBar.alpha = .5;
            componentHeight = actionBar.getPreferredBoundsHeight();
            
            actionBar.setLayoutBoundsSize(unscaledWidth, componentHeight);
            actionBar.setLayoutBoundsPosition(0, top);
