Select correct thumbnail in videos with chapters