MOB-2275 Calculate background color for map tiles' sets

I think the default here will never work. If length is 0 then `results[results.length - 1]` will return `undefined` and `undefined` doesn't have property `color` so it will raise error;