Fix problem with colours not drawing correctly.