fix captionsetup for subcaption.
By https://github.com/alick9188