Fix screen off issue during timelapse