fix timelapse capture to actually work