Fix for imagemagick compare returns 1 when images are dissimiliar