Shoddy rounding works so that even when you lose 100% of your health, you could still have <1% of your actual health (1 or 2 hit points usually). That screenshot is correct since you have leftovers, which adds 6.25% of your maximum hp back to you. Due to shoddy rounding down and not displaying percents, the 6% shown is correct.