Padding too tight around inline images and caption not visible. Fixed.#831