fixed map-leaving mediumNPC