fix for the bad translation of pictures

When resizing a 495*500 picture into a 1080*1845 imageView ( scale center_crop), the imageView was translated too much to the left. I think this should fix the issue of these weird translations.