Fix issue 25: first few frames are black