Fix HUD crash