Framework Stylus not updating when screen rotates FW12

Whenever I rotate my display, the Framework digital stylus remains locked to the original display orientation mapping. So far the only solution I have found is that I should be able to manually change the orientation using an xinput CTM command in the terminal, however this seems horribly inconvenient to do every time I turn the screen. A method to get it to auto update would be much preferred, if at all possible.
I am still learning Linux (hence my choice to opt for Zorin), so any help would be appreciated.

System Specifications

Linux Distro: Zorin OS 18.1 Core (using Xorg)
Kernel: Linux 6.17.0-22-generic
Framework Model: FW 12 - 13th Gen i5-1334U