         // if showing the thumbnail, just use the thumbnail's size
         if (thumbnailSource && thumbnailGroup)
         {
-            intrinsicWidth = thumbnailGroup.getPreferredBoundsWidth();
-            intrinsicHeight = thumbnailGroup.getPreferredBoundsHeight();
+            intrinsicWidth = thumbnailBitmapImage.getPreferredBoundsWidth();
+            intrinsicHeight = thumbnailBitmapImage.getPreferredBoundsHeight();
         }
         else
         {

    private function setUpThumbnailSource():void
    {
        if (thumbnailSource)
        {
            var bitmapImage:BitmapImage;
            
            // create thumbnail group if there isn't one
            if (!thumbnailGroup)
            {
                bitmapImage = new BitmapImage();
                
                bitmapImage.left = 0;
                bitmapImage.right = 0;
                bitmapImage.top = 0;
                bitmapImage.bottom = 0;
                
                thumbnailGroup = new Group();
                thumbnailGroup.addElement(bitmapImage);
            }
            else
            {
                bitmapImage = thumbnailGroup.getElementAt(0) as BitmapImage;
            }
            
            // if thumbnailGroup isn't on the display list, then add it.
            if (!this.contains(thumbnailGroup))
                addChild(thumbnailGroup);
            
            bitmapImage.source = thumbnailSource;
            invalidateSize();
        }
        else

        // set the gateway's dimensions
        LayoutUtils.setAbsoluteLayout(videoGateway.metadata, 
            Math.floor(unscaledWidth), Math.floor(unscaledHeight));
        
        // need to validate the gateway immediately--otherwise we may run out of synch 
        // as they may wait a frame by default before validating (see SDK-24880)
        videoGateway.validateContentNow();
    }
    
    //--------------------------------------------------------------------------
