Added NPC, ordering in y-ordering in layer drawing