Fixed the tile drawing order.