FIX: random code makes videodumper stop after 25000 frames