Fix progress counter when more than 1 screenshot can be taken during single test

[#69189676]