MDL-45479 atto_image: Improve the preview area

This changes the preview area:
* to show the image at the requested size; and
* to fix the scaling issues.