Revert Commit:
f36a4689b5f9c4ff82e285e27f4545d1b59f168c
"to terencehill: please be more careful with your optimizations and what they cause, this for instance broke highlighting in some cases"
Sorry FruitieX, but I cannot reproduce the bug. hud_configure_active_panel is meaningful only when _hud_configure is != 0 (or menu_enable is 2, which can only be if _hud_configure is != 0), just look at the checks.
Maybe that bug was caused by something else and now is gone... dunno... let's see if it happens again.
PS: pls do not think I commit thoughtlessly the changes I do. On the contrary I put every effort I can to do them correctly, and I'm talking about the minor changes too. Anyway, I'm not perfect so u should expect that sometimes I could make a mistake.