updated with skarmakar's patch

Copied verbatim from: https://github.com/skarmakar/rails_admin_jcrop/blob/6d6787a5b7f1ff0e5a3f425c6e520a1642228a19/app/controllers/rails_admin/jcrop_controller.rb