More LayerTile optimizations.