These classes only needed Window to get at its realm. Pass a realm directly to construct Geometry classes.