Prevent content block images from overflowing their div