         overlayTargetArea = targetArea;
 
         if (selectedChild &&
-            selectedChild.numChildrenCreated == -1)
+            selectedChild.deferredContentCreated == false)
             // No children have been created
         {
             // Wait for the childrenCreated event before creating the overlay

        // Stretch the selectedIndex to fill our size
        if (selectedIndex != -1)
        {
            var child:Container =
                Container(getChildAt(selectedIndex));

            var newWidth:Number = w;
            var newHeight:Number = h;

     *  @private
     *  Remember which child has an overlay mask, if any.
     */
    private var overlayChild:UIComponent;

    /**
     *  @private
