         if (!p)
         {
             _parent = null;
-            nestLevel = 0;
+            _nestLevel = 0;
         }
         else if (p is IStyleClient)
         {

        if (_layoutFeatures && _layoutFeatures.updatePending == false)
        {
            _layoutFeatures.updatePending = true; 
            if (nestLevel && UIComponentGlobals.layoutManager &&
                invalidateDisplayListFlag == false)
            {
                UIComponentGlobals.layoutManager.invalidateDisplayList(this);

        {
            invalidateDisplayListFlag = true;

            if (isOnDisplayList() && UIComponentGlobals.layoutManager)
                UIComponentGlobals.layoutManager.invalidateDisplayList(this);
        }
    }
