             // Display the cell selections.
             visibleSelectionIndicators = layoutCellElements(
                 selectionIndicatorFactory,
-                container,
+                layer,
                 visibleSelectionIndicators, 
                 oldVisibleRowSelectionIndices, oldVisibleColumnSelectionIndices,
                 visibleRowSelectionIndices, visibleColumnSelectionIndices,

    // out how to migrate data from the old GLC to the new one.
    // Note also: if this was going to be shared, it should arrive as a constructor parameter.
    public var gridDimensions:GridDimensions;
        
    public function GridLayout()
    {
        super();

    //  Linear elements: row,column separators, backgrounds 
    //
    //-------------------------------------------------------------------------- 
    
    /**
     *  @private
