Here we go again, Fences did it again 
I just installed a fresh copy of Windows 10 and two LG CX TVs via HDMI as monitors with Fences and while I admit windows are doing some shady things regarding multimonitor setups (and interestingly it's worse with my LG TVs being two monitors than it was in the past with old Panasonic plasma connected as the second monitor while primary being classic Dell monitor), Fences are not handling it gracefully.
Yesterday I did set it up with my main fences stack on the primary monitor, I disabled When I plug in a new primary monitor move my icons to it just to reduce the probability of Fences triggering movement between displays for whatever reason (by the way there is lack of description what the switches mean in Layout and snapping preferences section, providing some sort of detailed description on mouse hover or something is good practice and Fences are lacking in this regard, it's very unclear what all the options mean).
During the night my computer went to sleep and when I switched on the monitors in the morning (I don't remember which one I turned on first, but probably the secondary one) the fences were moved from primary to secondary and no matter how hard I tried (restarts, turning monitors on/off, while playing with that When I plug in a new primary monitor move my icons to it - nothing helped.
Then I discovered a little trick:
- enable When I plug in a new primary monitor move my icons to it in Layout and snapping
- turn off the second monitor
- plug out HDMI cable from your primary monitor, plug it back in
- after a while fences should move the icons back to primary
This is a nasty workaround as the primary monitor never really changed but it seems it works and it shows that Fences probably are too "sensitive" and treat some actions like there is a change in the primary/secondary monitor although there are not and there was no new primary monitor plugged in.
Although windows are not innocent I suppose (I have a bunch of other problems with this 2 monitors setup) this info stays the same no matter what, the primary and secondary monitor stays the same regardless of which one is currently off, it does not change after sleep etc so there probably is some info Fences could rely on when trying to decide what the primary display is.
