fix extra band handling in colour

backport of new colour.c from 7.41