Compare the code line by line. I commented out a few lines and corrected the TIME to "00:00:02" where noted.
I ran the edited code without error and it consistently produce a copy of my desktop 10 times in a row ... whereas
your original code would error out on the 3rd or 4th attempt.
Thank you Logit, I tested it work today and it worked as advertised!!