fixed enemy hp bar logic