The background color would be rendered as black if it was still the default color. Changing the color would work correctly. This fixes the problem and saves the image as the default color correctly but there might be a better place to correct this issue.