Update picture references
Update preview size to match generated images
Add checks for overflow by corner items
Add error message for overflow and usage
Fix 3d image loading