 
         var oldContentWidth:Number = _contentWidth;
         var newContentWidth:Number = containerController.contentWidth;
+        
+        // Error correction for rounding errors.  It shouldn't be so but
+        // the contentWidth can be slightly larger than the requested
+        // compositionWidth.
+        if (newContentWidth > containerController.compositionWidth &&
+            Math.round(newContentWidth) == containerController.compositionWidth)
+        { 
+            newContentWidth = containerController.compositionWidth;
+        }
+            
         if (newContentWidth != oldContentWidth)
         {
             _contentWidth = newContentWidth;

        
        var oldContentHeight:Number = _contentHeight;
        var newContentHeight:Number = containerController.contentHeight;
        if (newContentHeight != oldContentHeight)
        {
            _contentHeight = newContentHeight;

            
        // When losing focus, hide the selection.  Uses the SelectionFormat 
        // values defined by the SelectionManager. 
        if (textFlow.interactionManager && 
            textFlow.interactionManager.hasSelection())
        {
            textFlow.flowComposer.hideSelection();            
    }
    }

    //--------------------------------------------------------------------------
