Fixing issue, when progress array contins only one image.