Fixed a bug which meant that the background colors were never applied on the preview.