Fix for 16-bit multichannel images