Fix random color bug