Fixes random color generator