Only occurs on the web build because the standalone doesn't save progress on exit.
- Die
- Reload the tab to prompt a save.
- Continue from the save.
- You are now alive with 0 health.
Easiest option might be to trigger game over when loading a save on 0 health, or adding an "is dead" flag if you want to keep the option of playing with 0 hp open for some reason.