fixed npc image switch lag bug