Fix pixel rounding artifacts caused by overly specific cell height values
Limit number of colors in the colorsArray