Fix disappearing HP bar bug caused by set_hud_flags