Fix regression in 80fbe3f (NPC hover bug)

Closes #1260

It's simpler to check if any of the NPC-related menus are open.