Fix oversized images