Wacom Pen Buttons Swapped When Using Chrome

Hi. The buttons on my Wacom PTH-651/K pen are swapped, but only when using Chrome on Fedora. Other apps it works properly. If I use Chrome on other operating systems, it works properly. How can I fix this?

I’m using

  • Fedora 44 (Workstation Edition),
  • stable,
  • kernel 7.0.12-201.fc44.x86_64
  • wayland
  • Nvidia gpu (4070 Super)