Thank you very much for bringing that to my attention. I've fixed the issue and the game should be working as intended now with the player restarting at the beginning of each level after death.