Backport PR #5758: Applied bug fix: using fc and ec did not properly set the figure canvas ...

...facecolor and edgecolor. This is resolves issue #5553 in which rcParams['figure.facecolor'] is ignored. The fix is now applied to master.