Fixed setting current map for npc update function