fixed the failed assertion (the NPC's coordinates could be nan when he has arrived since two commits ago), now the NPCs should move correctly