My canvas moves anytime I put my pen over my screen

Have you tried reinstalling the Huion drivers?

Also, note the advice from @Weekend in a reply to this topic:

If none of that works, and nobody else has any ideas, it may be possible to disable the tablet Pan action within krita but that would be a desperation measure (like breaking someone’s arm to stop it from twitching).