Remove captions when removing images