[CORE][UI] thumbnails correctly added to ImageViewer