LPS-42883 Fix image proportions when image isn't square