Dock keeps moving to second monitor
I've got a 2-monitor setup and just noticed a really weird behavior: When you move a window half-way across to the second monitor, it's cut off. No idea why anyone would think that that's a good idea but I googled it and unchecked the "displays have separate spaces" setting to fix it (which apparently needs a restart to take effect).
I went afk for a bit and when I came back and "woke up" the mac, the dock was on the second screen all of a sudden. The problem with windows being cut off is still there though.
I noticed that I can get the dock back to the main monitor by hovering the mouse at the bottom but the **** thing keeps moving back to the second screen when my mouse is there, even when it's just a second, which makes resizing windows and just overall working incredibly annoying!
How do I lock the dock to the main monitor?
Mac mini, macOS 10.15