Middle Mouse input not read correctly on Linux (Fedora 42)

When trying to zoom in on a card in the deck editor by clicking the scroll wheel, it plays the select sound and doesn’t zoom into the card. Pressing the scroll wheel twice removes the card from the deck as if I left clicked it twice. Pressing the scroll wheel to select an action as if it was left click during a duel plays the sound then does nothing.
Rebinding zoom to another key works fine. Rebinding other functions to middle mouse has the same issue where it just plays the sound and doesn’t run the function.