Bug fix: img.caption was displayed at full-width instead of its actual width

img.caption was displayed at full-width (100%) instead of its actual width (the image dimensions).
I'm not sure if it was a bug. Maybe it is a design choice I don't understand.