             else if (!isNaN(bottom))
                 childY = unscaledHeight - elementHeight - bottom;
             else
-                childY = layoutElement.getLayoutBoundsY();
+           		childY = layoutElement.getLayoutBoundsY();
 
             // Set position
             layoutElement.setLayoutBoundsPosition(childX, childY);

            }
            else
            {
                extX = layoutElement.getLayoutBoundsX();
            }
            
            if (!isNaN(top) && !isNaN(bottom))

            }
            else
            {
                extY = layoutElement.getBoundsYAtSize(NaN, NaN);
            }

            var preferredWidth:Number = layoutElement.getPreferredBoundsWidth();
