Issue with changing current cursor with NonRealtimeDraggingTool

I am using NonRealtimeDraggingTool for drag/drop nodes to change the node position in the diagram. Everything works fine except when I attempt to change the current cursor. When I run this code and drag a node doActivate function is never called. However doDactivate is called and get the following error. Am I doing something wrong here?

    const draggingTool = new NonRealtimeDraggingTool();
    draggingTool.duration = 600;
    draggingTool.dragOptions.dragsLink = false;
    this.diagram.toolManager.draggingTool = draggingTool;
    this.diagram.toolManager.draggingTool.doActivate = () => {
      if (this.diagram.currentTool instanceof go.DraggingTool) {
        go.DraggingTool.prototype.doActivate.call(this);
        this.diagram.currentCursor = 'grabbing';
      }
    };
    this.diagram.toolManager.draggingTool.doActivate = () => {
      if (this.diagram.currentTool instanceof go.DraggingTool) {
        go.DraggingTool.prototype.doDeactivate.call(this);
        this.diagram.currentCursor = '';
      }
    };
code-to-inject.js:46 ERROR TypeError: Cannot read properties of undefined (reading 'length')
    at Ze (go-module.js:341:36)
    at Ue (go-module.js:331:276)
    at Be.doDeactivate (go-module.js:330:129)
    at diagram.toolManager.draggingTool.doActivate (steps-diagram.component.ts:336:48)
    at pe.doMouseDown (go-module.js:286:409)
    at Q.doMouseDown (go-module.js:606:120)
    at a.Mj (go-module.js:822:54)
    at _ZoneDelegate.invokeTask (zone.js:402:31)
    at core.mjs:10735:55
    at AsyncStackTaggingZoneSpec.onInvokeTask (core.mjs:10735:36)

Is there a reason you cannot use one or more of the following DraggingTool…Cursor properties?
DraggingTool | GoJS API
DraggingTool | GoJS API
DraggingTool | GoJS API

Thanks. I had overlooked those options.