Apply `max-width:100%` to image captions, too (see #6889)