fix for landscape zoom of smaller images (introduced in previous commit with changes to zooming for smaller images)