VNC remote: Touch input sends a click to the wrong location
I am running GNOME Boxes 3.32.1-5b130ef7 on an Arch Linux tablet. I have set up a remote VNC connection to a separate machine on my local network, which is running TightVNC server on Windows.
When I tap an area on the screen, the click gets sent a centimeter or two to the right instead. I can easily verify this by e.g. clicking in a text file to see where the caret appears, or clicking on the Windows taskbar to see which icon gets clicked.
I have an idea of where the issue might be, but I might be wrong. When I'm connected, I have the window maximised (not fullscreen), and due to GNOME Boxes rendering it with a "best fit" type approach, there are margins on the left and right side of the window. I feel like the width of the margin is about the same as the horizontal offset I'm getting on my touch input. I feel like GNOME Boxes is maybe doing something wonky with coordinates when there are margins in the window.