Solving Player-NPC sorting order