Hi
Welcome to Microsoft community.
I'm glad to help you.
From your description, it seems that your second monitor resolution and other parameters appear to be abnormal resulting in.
To more accurately determine your problem, does your computer have two different graphics cards, such as an intel and an Nvidia?
You can first lower the resolution of the extended screen, then re-insert the hdmi connection and check if the problem disappears. You can also go into the intel or nvidia control panel to reduce the resolution size of the extended screen.
If anything is unclear, please do not hesitate to let me know.
Best regards
Derrick Qian | Microsoft Community Support Specialist