             _layoutFeatures.transformAround(transformCenter, scale, rotation,
                 translation, postLayoutScale, postLayoutRotation,
                 postLayoutTranslation);
-            invalidateTransform();      
+            invalidateTransform();
+
+            // Will not invalidate parent if we have set _includeInLayout to false
+            // in the beginning of the method
             invalidateParentSizeAndDisplayList();
+
             if (prevX != _layoutFeatures.layoutX)
                 dispatchEvent(new Event("xChanged"));
             if (prevY != _layoutFeatures.layoutY)

            invalidateTransform();
        }
        invalidateProperties();

        if (hasEventListener("yChanged"))
            dispatchEvent(new Event("yChanged"));

        }

        invalidateProperties();
        
        if (parent && parent is UIComponent)
            UIComponent(parent).childXYChanged();

        if (hasEventListener("xChanged"))
            dispatchEvent(new Event("xChanged"));
