Fix margins on images with captions