Three monitor setup on Mac Studio M1 Max

I have a three monitor setup on my Mac Studio. I play the game on the middle (main) monitor. The other two monitors just go black, as expected. The issue I’m having is that if I move the mouse too far to the left or right, the cursor appears on one of the side monitors, and then the mouse no longer functions properly in the game until I move the mouse enough that it comes back to the middle monitor. It seems like the only solution for now is to mirror all three monitors, and then turn the two on the side off while I play.