fix behavior adding a second image to a figure with title/caption