FIX: ensureMaximumDimensionForImagesInPreview wasn't always working