         {
             invalidatePropertiesFlag = true;
 
-            if (parent && UIComponentGlobals.layoutManager)
+            if (nestLevel && UIComponentGlobals.layoutManager)
                 UIComponentGlobals.layoutManager.invalidateProperties(this);
         }
     }

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

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