     public function calculateDropLocation(dragEvent:DragEvent):DropLocation
     {
         // Find the drop index
-        var dropPoint:Point = target.globalToLocal(new Point(dragEvent.stageX, dragEvent.stageY));
+        var dropPoint:Point = globalToLocal(dragEvent.stageX, dragEvent.stageY);
         var dropIndex:int = calculateDropIndex(dropPoint.x, dropPoint.y);
         if (dropIndex == -1)
             return null;

    {
        return null;
    }
}
}

    //  Drop methods
    //
    //--------------------------------------------------------------------------

    private var _dragScrollTimer:Timer;
    private var _dragScrollDelta:Point;
    private var _dragScrollEvent:DragEvent;
    mx_internal var dragScrollRegionSize:Number = 20;
    mx_internal var dragScrollSpeed:Number = 5;
    mx_internal var dragScrollInterval:int = 32;
    mx_internal var dragScrollHidesIndicator:Boolean = false;
    
    /**
     *  Calculates the <code>LayoutDragEventDropLocation</code> for
     *  the specified <code>dragEvent</code>.
