Reduced the overhead for render start detection and video capture