How stupid does a spider have to be to build a web inside a screen door?

the door onto the porch at Grandpa's house... my head took a big head-shaped chunk out of it when i opened the screen door (before which it is invisible) and stepped out. I will know to duck from now on.