fixed possible divide by zero error with HealthBar.