Fix png to jpg bug

When converting transparent png to jpg, the background color is now used from the settings instead of default black