Thank you! that fixed that issue!
Though now, I have a white screen whenever I'm in the game and when I minimize and back fullscreen, it becomes a black screen.
edit: I disabled shaders and it removes the white or black screen, so I'm assuming that the version ForgeOptifine 1.20.1 isn't currently compatible with any type of shaders?
I do have my NVidia Drivers up to date and I have used Shaders in the past in other versions.