Decrease image counter if an image could not be captured from webcam
Decrease image counter if an image could not be captured from webcam

Should keep rendering of timelapse from breaking if only a couple of images couldn't be captured due to whatever reason. Suggested by @midopple in #344

leductan-nguyen/RaionPi,mcanes/OctoPrint,SeveQ/OctoPrint,bicephale/OctoPrint,nickverschoor/OctoPrint,shaggythesheep/OctoPrint,Mikk36/OctoPrint,eddieparker/OctoPrint,punkkeks/OctoPrint,chriskoz/OctoPrint,dragondgold/OctoPrint,jneves/OctoPrint,beeverycreative/BEEweb,madhuni/AstroBox,dansantee/OctoPrint,beeverycreative/BEEweb,chriskoz/OctoPrint,dansantee/OctoPrint,EZ3-India/EZ-Remote,ErikDeBruijn/OctoPrint,javivi001/OctoPrint,MoonshineSG/OctoPrint,Salandora/OctoPrint,spapadim/OctoPrint,shaggythesheep/OctoPrint,abinashk-inf/AstroBox,beeverycreative/BEEweb,madhuni/AstroBox,MoonshineSG/OctoPrint,Salandora/OctoPrint,spapadim/OctoPrint,JackGavin13/octoprint-test-not-finished,ymilord/OctoPrint-MrBeam,Javierma/OctoPrint-TFG,shohei/Octoprint,abinashk-inf/AstroBox,mcanes/OctoPrint,AstroPrint/AstroBox,nicanor-romero/OctoPrint,ryanneufeld/OctoPrint,senttech/OctoPrint,mrbeam/OctoPrint,shohei/Octoprint,CapnBry/OctoPrint,EZ3-India/EZ-Remote,JackGavin13/octoprint-test-not-finished,jneves/OctoPrint,Javierma/OctoPrint-TFG,ymilord/OctoPrint-MrBeam,Voxel8/OctoPrint,dragondgold/OctoPrint,punkkeks/OctoPrint,AstroPrint/AstroBox,eddieparker/OctoPrint,Jaesin/OctoPrint,MaxOLydian/OctoPrint,leductan-nguyen/RaionPi,SeveQ/OctoPrint,Salandora/OctoPrint,uuv/OctoPrint,masterhou/OctoPrint,foosel/OctoPrint,ymilord/OctoPrint-MrBeam,Skeen/OctoPrint,dansantee/OctoPrint,ryanneufeld/OctoPrint,MoonshineSG/OctoPrint,jneves/OctoPrint,eliasbakken/OctoPrint,Javierma/OctoPrint-TFG,senttech/OctoPrint,sstocker46/OctoPrint,senttech/OctoPrint,CapnBry/OctoPrint,markwal/OctoPrint,bicephale/OctoPrint,Voxel8/OctoPrint,Jaesin/OctoPrint,CapnBry/OctoPrint,dragondgold/OctoPrint,bicephale/OctoPrint,ErikDeBruijn/OctoPrint,eddieparker/OctoPrint,shohei/Octoprint,chriskoz/OctoPrint,ErikDeBruijn/OctoPrint,ymilord/OctoPrint-MrBeam,shaggythesheep/OctoPrint,CapnBry/OctoPrint,nickverschoor/OctoPrint,Skeen/OctoPrint,madhuni/AstroBox,nicanor-romero/OctoPrint,nickverschoor/OctoPrint,ymilord/OctoPrint-MrBeam,Jaesin/OctoPrint,alex1818/OctoPrint,markwal/OctoPrint,shohei/Octoprint,mayoff/OctoPrint,uuv/OctoPrint,EZ3-India/EZ-Remote,eliasbakken/OctoPrint,ryanneufeld/OctoPrint,sstocker46/OctoPrint,nickverschoor/OctoPrint,MoonshineSG/OctoPrint,leductan-nguyen/RaionPi,beeverycreative/BEEweb,Jaesin/OctoPrint,foosel/OctoPrint,uuv/OctoPrint,senttech/OctoPrint,Mikk36/OctoPrint,alex1818/OctoPrint,alex1818/OctoPrint,javivi001/OctoPrint,punkkeks/OctoPrint,Mikk36/OctoPrint,Javierma/OctoPrint-TFG,madhuni/AstroBox,javivi001/OctoPrint,foosel/OctoPrint,SeveQ/OctoPrint,Voxel8/OctoPrint,ryanneufeld/OctoPrint,foosel/OctoPrint,MaxOLydian/OctoPrint,Skeen/OctoPrint,masterhou/OctoPrint,markwal/OctoPrint,bicephale/OctoPrint,mrbeam/OctoPrint,EZ3-India/EZ-Remote,MaxOLydian/OctoPrint,leductan-nguyen/RaionPi,abinashk-inf/AstroBox,Salandora/OctoPrint,abinashk-inf/AstroBox,AstroPrint/AstroBox,eliasbakken/OctoPrint,chriskoz/OctoPrint,JackGavin13/octoprint-test-not-finished,mcanes/OctoPrint,nicanor-romero/OctoPrint,mayoff/OctoPrint,shohei/Octoprint,masterhou/OctoPrint,mayoff/OctoPrint,mrbeam/OctoPrint,sstocker46/OctoPrint,JackGavin13/octoprint-test-not-finished,spapadim/OctoPrint