Fix "Rescale QImage accordingly"
!4 (merged) contained a bug: when user choose not to rescale image, the width and height values were -1, which resulted in a null image after rescaling. Sorry about that
Also, we only need to rescale image only when needed (i.e. original image is larger than desired).