fixed the player health bar

the health bar will now resize when the player is hit