Something tells me Sophie hit that screen door one too many times, so while her dad was in the process of replacing the screen, she was extra cautious not to hit it again.
She was standing there waiting for someone to open the door for her. Even when she was given a hint that she can safely go through it even when it was closed, Sophie just wasn’t willing to risk it. Doors are there to prevent her from getting in or out… stuff don’t just change its purpose like that. It’s a complete and utterly adorable confusion, you’re gonna love it.