Fixed some bug in the healthbar