Some changes that you make during Refedit sessions of xref drawings do not take effect until you save the changes to the xref drawing. When you add doors, windows, door/window assemblies, and openings to a new wall in an xref drawing, their placement is affected by whether the new wall cleans up with other walls in the drawing. Clean up does not occur between walls in xref and host drawings until you save the changes in the Refedit session.
For best results, if you add walls during a Refedit session, save and close the session before adding objects to those walls. Open a new Refedit session (or open the xref drawing directly, outside of the host drawing), verify that the walls clean up as you intend them to, and then add objects to the walls.