Changed mini_magick to rmagick and image resizing works flawlessly now