Fix to make Kaze work on color images.