Bugfix: using energy after player dies

Fix a bug that enabled the player to use the energy in the next life. The
correct behavior is disabling the energy state if the player loses a life.