Fixes regression in SC.Color from optimization.