Loading color values from the registry fixed.