Pan tool getting stuck

Hello, I use a Macbook Air Apple M2 and run krita. For some reason my pan/hand tool keeps getting stuck. When my mouse is on the canvas it isn’t an issue, but when I use or hover over seperate areas like the animation timeline or the layers docker, the hand is gripped. I have reset the shortcuts for it, but still isn’t working correctly. Someone please help, its so frustrating.