Added z-sorting (game code wise, not pixi-wise)