Python API/highrescreenshot

this still skips a few screenshots for me. anyone has a better fix for this?