         // a scroll rect but if lineBreak="explicit" the text may need
         // to be clipped.
         if (scrollX == 0 && scrollY == 0 &&
-            contentBounds.width <= width &&
-            contentBounds.height <= height)
+            contentBounds.right <= width &&
+            contentBounds.bottom <= height)
         {
             // skip the scrollRect
             if (hasScrollRect)

    			alpha = styleableContainer.getStyle("backgroundAlpha");
    		}
    	}
        var g:Graphics = container.graphics;
        g.clear();
        g.lineStyle();

        var width:Number = textDisplay.width;
        var height:Number = textDisplay.height;
        
        // (FIXME) cframpto: is this still really needed?
        if (!textDisplay.autoSize && (isNaN(width) || isNaN(height)))
            return false;  // just measuring!
        
