Painter 2023 Pan/Scroll with Wacom pen button Zooms instead

I am using Painter 2023 with a Wacom Intuos S on Windows 11.

When I set the first pen button to Pan/Scroll and try it in Painter it Zooms instead. This does not happen in Painter Essentials 8. Setting other function for the Pen button also seem to result in the wrong thing happening in Painter 2023, e.g. Scroll Up zooms in, Scroll Down zooms out.

I can set it to "g" to change to Grab as though I had pressed the kerboard button and this works, but it doesn't change back obvioulsy so this is not a great workaround.

Is there another way to set these mappings?

Any tips?