             
             if (contentGroup.includeInLayout)
             {
+                contentGroup.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
                 contentGroup.setLayoutBoundsPosition(0, 0);
-                contentGroup.setLayoutBoundsSize(unscaledWidth, unscaledHeight);
             }
         }
         else

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

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