             }
 
             if (isNaN(top) && isNaN(bottom) &&
-                isNaN(LayoutItemHelper.parseConstraintValue(layoutItem.verticalCenter)))
-            {
-                extY += layoutItem.actualPosition.y;
+                isNaN(LayoutElementHelper.parseConstraintValue(layoutElement.verticalCenter)))
+            {
+                extY += layoutElement.getLayoutPositionY();
             }
             else
             {

            {
                childWidth = unscaledWidth - right - left;
            }
            else if (!isNaN(layoutItem.percentWidth))
            {
                childWidth = unscaledWidth * Math.min(layoutItem.percentWidth * 0.01, 1);
                itemMaxSize.x = Math.min(itemMaxSize.x,
                    maxSizeToFitIn(unscaledWidth, hCenter, left, right, childX));
            }


    //
    //--------------------------------------------------------------------------

    private static function constraintsDetermineWidth(layoutElement:ILayoutElement):Boolean
    {
        return !isNaN(layoutElement.percentWidth) ||
               !isNaN(LayoutElementHelper.parseConstraintValue(layoutElement.left)) &&
               !isNaN(LayoutElementHelper.parseConstraintValue(layoutElement.right));
    }

    private static function constraintsDetermineHeight(layoutElement:ILayoutElement):Boolean
    {
        return !isNaN(layoutElement.percentHeight) ||
               !isNaN(LayoutElementHelper.parseConstraintValue(layoutElement.top)) &&
               !isNaN(LayoutElementHelper.parseConstraintValue(layoutElement.bottom));
    }

    //--------------------------------------------------------------------------
