Limit auto-scaling images to content only (Github #27).