I should add, this only happens when it wakes from sleeping. So if I come back and wake it up, all of my tabs move to the display using HDMI.Perhaps include a video of the issue as it's happening...? You might want to also see what the primary monitor is set to in Display Settings, assuming you're working with Windows 10.
Might want to include the make and models of your panels and the make and model of your display output device.
My mistake.Run DDU and manually reinstall the latest driver for your GPU. You didn't include the info I'd asked for.