template: Fix a bug of progress bar in lesson_result