Do not display the last frame twice on errors