Prevent images in content from overflowing