Made sure everything spawns in the right Z order