Fixed an issue that caused the wrong colours to be displayed,