Render widgets within the full master page context.

Should fix #160 and fix #164.