Use Window::get_cx() in DocumentFragment::Constructor.

These changes landed in parallel.