Open windows move to main screen
I'm running 12.4 on an M1 MacBook Pro. Whenever my computer goes to sleep (say, for a kitchen break) all the many windows open on my secondary monitor move to the main screen, and then I have to spend time reorganizing them. Is there any remedy for this? It seems to have been a problem for years.
MacBook Pro 13″, macOS 12.4