TileMapLayer: prebuild tile alteration map to speed up rendering