Improve error handling during MvcImageResize