Debugged a problem caused by the new snap-to colour method.