Fixed problem in ScanLines where the colours were reconverted to colours via getColourFromIndex. This was an existing problem in old code.