Fixed issue related to npc A Sleeping Dragon

ref #1247