I also had this problem for a while with a certain resource pack, I fixed it by removing every instance of Sodium in my mods folder. This fixed it, but if you want to keep Sodium or don't have Sodium in the first place I wouldn't know how to fix this.