Moved RectangleContext to own submodule