Preserve image size when resizing to larger dimension.