Fix crash when trying to add without NPC selected