Keybord shortcut to move window to the right screen actually moves it to the left

I am using 3 monitors and when I try to move a window to the right, it actually goes to the left. I have checked the monitors’ position in the settings but everything looks fine. I have tried changing the settings and reordering the monitors but the issue persists.