Fixed bug with health going down withought required energy