Fixed a bug in channelmixer where gray mix mode was enabled only if all 3 channels != 0. Now gray mix mode is enabled if one or more channel is != 0.