yes, disabling the menu background blur fixes the bug as seen in the new screenshot, setting this option to a higher value makes the problem worse
I just discovered that the same thing happens with fire and a campfire
What's your level of difficulty? If it's peaceful you don't lose your hunger and your hearts regenerate on their own.
I do not use any resource packs, add-ons, mods, or datapacks