Fixing some ImageMagick warnings