Switching to DVI causes blank desktop and no apps opening

Apr 6, 2018
9
0
10
My monitor is an ASUS VG248QE, when I try switching from HDMI to DVI I see my desktop but without my apps and whenever I click on something from my taskbar, nothing from there opens. I need to know how to fix this in order to get 144 hz. How do I fix this please?

Weirdly enough, when I took a screenshot of the problem and opened it, everything is fine. All of my apps appear in the screenshot.