             }
             delete itemToRenderer[item];
               
-            // Free or remove the IR
+            // Free or remove the IR.
             if ((item != elt) && (elt is IDataRenderer))
             {
                 elt.visible = false;
+                if (elt is UIComponent) 
+                    UIComponent(elt).includeInLayout = false;
                 freeRenderers.push(elt);
             }
             else

                {
                    elt = freeRenderers.pop();
                    elt.visible = true;
                    if (elt is IDataRenderer)
                        IDataRenderer(elt).data = item;
                    recycledIR = true;

                
            // Quietly ignore invalid indices since they're typically caused
            // by duplicate data items and Halo quietly ignore those
            if ((insertIndex >= 0) && (insertIndex < super.numChildren)) 
                super.setChildIndex(child, insertIndex);

            return child;
