Fixed string truncation bug in ImageCaption