Workaround image magick issue with greyscale xcf files