More improvements to the tile layer.