Fix group color generation