When Dave gets hit over the head from behind, his hat flies off, but when he lands, his hat is still on and then it falls off.
After Dave rides away, the school teacher is attacked and she screams. Dave hears her and comes back to try to help. He had ridden quite a ways off from the schoolhouse to have been able to hear her screams.