Sequencer outputting game frame instead of camera frame on last frame

I’m trying to render image frames from Sequencer, but the last frame is not the Sequencer camera view but the game camera (when you click Play outside of Sequencer). So, for example, if I have a sequence of 10 frames (0 to 9) 9 frames look like the first image and the 10th frame looks like the second image. The camera cuts layer covers the whole timeframe (actually even outside the capture range to be safe).

Am I doing something wrong or is this a bug?