               scheduleGlobalRedraw();
                    }
                };
                this.canvasOriginal.addEventListener('pointerup', stopDragging);
                this.canvasOriginal.addEventListener('pointerleave', stopDragging);

                if (this.coonsifyButton) {
                    this.coonsifyButton.addEventListener('click', () => {
                        this._coonsifyPatch();
                        scheduleGlobalRedraw();
                    });
                }

           