Fix hexcolour-mode hooks