fixed npc draw bug