Fixed a bug with health bar