Fix #8776

Set the canvas color in 'qgsprojectproperties::apply()' before refresh