Fixed a bug with hearts when changing max life