Canvas sometimes freaks out when using mouse panning
How to reproduce
- Have a big graph that doesn't fit within 100% zoom.
- Zoom out a bit, but not far enough that everything fits.
- Try to pan with the mouse
Expected behavior
The canvas pans just like when using the scrollbars.
What happens instead
The canvas freaks out and jumps around a lot. I attached a video of the phenomenon.