This things also happens in my Mac. It never happened when I’m playing Vanilla but when I playing with mods sometimes this happens. I solve it with closing and then reopening Minecraft. I’m using Modrinth. And also if you change mods/resource packs this happens but if you close and reopen Minecraft it never happens unless you change some mods, resource packs, data packs or shaders.
This things also happens in my Mac. It never happened when I’m playing Vanilla but when I playing with mods sometimes this happens. I solve it with closing and then reopening Minecraft. I’m using Modrinth. And also if you change mods/resource packs this happens but if you close and reopen Minecraft it never happens unless you change some mods, resource packs, data packs or shaders.