Fixed issue with plot background image not being used in exported images. Closes #1765.