Issue #172. Fixed usse where caption of jsav diagram was displayed above the figure.