Fix getFrame() not adding the correct number of dropped frames.