Straight Lines tool doesn't work with a tablet

Description of the Problem, or Question?

When drawing straight/curved lines or shapes like ellipses it always starts from the edge of the canvas or last spot drawn with the mouse.

Basic System Details

MyPaint version: 2.01

Operating System + Version: Fedora 38, Gnome

Make and Model # of Graphic Tablet: Wacom Intuos

Please Tell Us How to Reproduce the Problem in Steps.

Select the Straight Line tool, try to draw lines.

Are there any Errors Popping Up? If so, paste the text in the area shown below.

[Paste Here]

_For our guidelines to create a great user support ticket, please visit this wiki page at Reporting Bugs · mypaint/mypaint Wiki · GitHub