Fixed bug in UploadImage where if image was less than 150px in height or
width, than the scale would be zero.