fix colour setting, broken by my changes to #746