Open application changes screen when screen is off

Hello,

I am a Fedora 40 user and I have a display problem.

I’m using two screens. If I turn off my main screen with physical button while an application is open (firefox for example) when I turn my screen back on the application is on the second screen.

I have to use “SUPER + shitf + right” to get the application back on my primary screen.

Has anyone experienced this?

Thks

OS: Fedora Linux 40
Kernel: 6.8.11-300.fc40.x86_64
Shell: bash 5.2.26
Resolution: 1920x1080, 1920x1080
DE: GNOME 46.2