Added a cache for tile blending calculations.