 
         for(var index:int = visibleStartIndex; index <= visibleEndIndex; index++)
         {
-            var el:ILayoutElement = layoutTarget.getVirtualElementAt(index);
+            var el:ILayoutElement = (useVirtualLayout) ? layoutTarget.getVirtualElementAt(index) : layoutTarget.getElementAt(index);
             if (!el || !el.includeInLayout)
                 continue;
 

                visibleStartX = visibleCol0 * cwg;                
            }
        }
    }    

    /**
     *  Sets the size and the position of the specified layout element and cell bounds.

            return;

        calculateDisplayParameters(unscaledWidth, unscaledHeight);
        if (useVirtualLayout)
            updateVirtualLayout(unscaledWidth, unscaledHeight);  // re-calculateDisplayParameters()
        
        // Upper right hand corner of first (visibleStartIndex) tile/cell
        var xPos:Number = visibleStartX;  // 0 if useVirtualLayout=false
