Fixed HUD crashes