add the screenshot tick right in the qemu loop