         var allVisibleColumns:Array = dataGrid.getAllVisibleColumns();
         var pt:Point = new Point(event.stageX, event.stageY);
         pt = dataGrid.globalToLocal(pt);
-
+        lastPt = pt;
         n = allVisibleColumns.length;
         var xx:Number = dataGrid.viewMetrics.left;
         var ww:Number;

import mx.core.UIComponent;
import mx.core.UIComponentGlobals;
import mx.events.DataGridEvent;
import mx.managers.CursorManager;
import mx.managers.CursorManagerPriority;
import mx.skins.halo.DataGridColumnDropIndicator;


    /**
     *  @private
     * 
     *  @param event MouseEvent or SandboxMouseEvent.
     */
    private function columnDraggingMouseUpHandler(event:Event):void
    {
        if (!dataGrid.movingColumn)
            return;
