Tiled Gallery: Fix captions.

Captions referred to the image without $this. Fixed.