Thanks, Tom MCT. Your advice actually worked. At first I had trouble finding the C:\Program Files (x86)\Minecraft\MinecraftLauncher.exe file, but then I realized it was in your "This PC" Tab of the file explorer.
I have a 1920x1080 display touchscreen HP envy laptop. This bug started happening on around 22nd February ever since the launcher got a small update. I think the new launcher update caused a lot of bugs.
Thanks, Tom MCT. Your advice actually worked. At first I had trouble finding the C:\Program Files (x86)\Minecraft\MinecraftLauncher.exe file, but then I realized it was in your "This PC" Tab of the file explorer.