Fix a bug where colour palette may not have initialized the counter for
a given colour, but would have already assigned colours.