Small nesting fix for images