A small ElementGallery edition context fix.