Fixed bug with color changing, if there were a multiple of 4 elements.