Fixed bug when rendering multiple colours