Tiny rejig in the order of the docs and viewport object’s properties.