I'm trying to annotate images. They're only around 6MB, but the interface gets pretty laggy, especially on weaker CPUs. A firefox profile reveals that the entire canvas is re-drawn upon each mouse move, which leads to janky behavior. Here's a link to the profile: https://share.firefox.dev/2OVkInV
Is there a way to fix this? I have already optimised the images to be as small as possible. They cannot become any smaller since they contain text that must remain legible.