Fix for reading colour channels.