Check the last frame number correctly, but the final processing result is not affected