render nested templates correctly when refreshing

When refreshing a node in an existing page, set the site in the context
so nested snippets can be resolved correctly.