At the end of chapter 16 of Great Expectations by Charles Dickens, the author states:
After that day, a day rarely passed without her drawing the hammer on her slate, and without Orlick's slouching in and standing doggedly before her, as if he knew no more than I did what to make of it.
I looked up the definition of doggedly, and it says: "having or showing tenacity and grim persistence." In the sentence, however, it seems that the character Orlick seems confused, which makes the word doggedly seem more like dogmatically.
Why was doggedly used here?