Fixed issue with <caption> not being displayed