Fixed a bug that captions for images selected could not be set via the pre WordPress 3.5 image uploader.