fixed a bug where the first frame returned from cv.QueryFrame() was 'None'