That's working as intended. Your HP/MP regen state is halted and reset every time you get hurt from anything.