Fixed grouping which includes images.

> Fixed a bug related to cloning of images in group.