         
         // Layout the row backgrounds
         
-        visibleRowBackgrounds = layoutLinearElements(grid.rowBackground, grid.backgroundLayer, 
+        visibleRowBackgrounds = layoutLinearElements(grid.rowBackground, backgroundLayer,
             visibleRowBackgrounds, oldVisibleRowIndices, visibleRowIndices, layoutRowBackground);
 
         // Layout the row and column separators. 
         
         const lastRowIndex:int = paddedRowCount - 1;
 
-        visibleRowSeparators = layoutLinearElements(grid.rowSeparator, grid.overlayLayer, 
+        visibleRowSeparators = layoutLinearElements(grid.rowSeparator, overlayLayer, 
             visibleRowSeparators, oldVisibleRowIndices, visibleRowIndices, layoutRowSeparator, lastRowIndex);
         
-        visibleColumnSeparators = layoutLinearElements(grid.columnSeparator, grid.overlayLayer, 
+        visibleColumnSeparators = layoutLinearElements(grid.columnSeparator, overlayLayer, 
             visibleColumnSeparators, oldVisibleColumnIndices, visibleColumnIndices, layoutColumnSeparator, lastVisibleColumnIndex);
         
         // HACK

        
        layoutItemRenderer(renderer, 0, 0, columnWidth, NaN);
        		
		grid.rendererLayer.removeGridElement(renderer);
            
		return renderer;
	}

                    
                    // Track which item renderers were created (uncommon) or recycled
                    // for the sake of the IGridItemRenderer prepare() method.

                    if (createdGridElement)
                    {
                        if (!createdItemRenderers)
