         var result:Number = x;
         if(layoutFeatures != null && layoutFeatures.offsets != null)
             result +=  layoutFeatures.offsets.x;    
-        return sharedDisplayObject && sharedDisplayObject != elementHost ? result - sharedDisplayObject.x : result;
+        return (sharedDisplayObject && (sharedDisplayObject != parent)) ? 
+                    result - sharedDisplayObject.x : 
+                    result;
     }
     
     //----------------------------------

        var result:Number = y;
        if(layoutFeatures != null && layoutFeatures.offsets != null)
            result +=  layoutFeatures.offsets.y;    
        return sharedDisplayObject && sharedDisplayObject != elementHost ? result - sharedDisplayObject.y : result;
    }
    
    //----------------------------------

    protected var _host:GroupBase;

    /**
     *  The is a temporary property, which will be removed when all references to 
     *  elementHost have been removed.
     */
    public function get elementHost():GroupBase
    {
