My issue is resolved. At the bottom of VS Code, there was an 'OVR' option. I clicked on it, and the issue was resolved