Universal Control randomly swaps sides
I have Universal Control configured on my Primary Mac so that it's display is on the left, and my Secondary Mac is on the right. This works most of the time, I can scroll all the way to the right of my Primary Mac, and the cursor will flow over to the Secondary one with no problem, and vice versa.
However, sometimes, after I've left both and screens have locked, upon unlocking, the displays are swapped. So the machine that is physically on the right is now on the left. Because it only happens sometimes this is very confusing. I can of course go into the Displays setting on the Primary Mac and swap them back to how I want them, but this is a tedious waste of time for something that I already had set how I wanted.
How can MacOS Universal Control prevent the screens from swapping sides when I haven't changed it myself?
iMac 21.5″ 4K, macOS 12.6
