Fix NpcAnimation non-existing skeleton crash (Fixes #2028)