Centered the images when scaling.