Fix #8776

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