Simplify nextFrame.