My health bar was being reduced to about 50% whenever I closed the game and re-entered

My health bar was being reduced to about 50% whenever I closed the game and re-entered. It stopped happening when I unequipped a purple ring with a negative effect that said “reduces max HP by 28%”. I assume there may be a correlation between equipment that reduces your max HP and the game halving my HP even though I exited with my full or almost full bar. It made me have to waste healing items to replenish the lost HP due to the bug.

Also my equipped consumables usually change when I enter the game (I equip mushroom soup and physical weapon oil equipped), they always default to mushrooms or potatoes, and a stamina vial buff (I forgot the name of it).