Fix random color selection.