Only dismiss if HUD is actually visible