 			matrix.scale(fillScaleX, fillScaleY);
 			matrix.translate(drawX, drawY);
 	        g.beginBitmapFill(_source as BitmapData, matrix, repeatBitmap, smooth);
-	        g.drawRect(drawX, drawY, unscaledWidth, unscaledHeight);
+        g.drawRect(drawX, drawY, unscaledWidth, unscaledHeight);
 	        g.endFill();
-		}
+    }
 		else
 		{   
-			
+    
 			// If we have scaleGrid, we draw 9 sections, each with a different scale factor based 
 			// on the grid region.
 			

    /**
     *  @private
     */
    public function get smooth():Boolean
    {
        return _smooth;
    } 

        if (!source || !drawnDisplayObject || !(drawnDisplayObject is Sprite))
            return;
            
        // The base GraphicElement class has cleared the graphics for us.    
       	var g:Graphics = Sprite(drawnDisplayObject).graphics;
        
        g.lineStyle();
        var repeatBitmap:Boolean = false;
        var fillScaleX:Number = 1;
