vitalitybar completed

fixed a bug in healthbar