fixed image magick auto fit (crop)