This is my first time I run into this situation when creating custom leaf door panel.
I created my door leaf in the XY 0,0 origin, but the outcome of my leaf door is always off by 9' feet from the frame as if it were floating.
Your image didn't attach so I am not exactly sure of the problem - which direction it is floating.
Check also the height above project zero for the elements you make the door from.
If that is not it, make sure you are working to the project origin and not a user origin (I am not sure if that makes a difference).
One of the forum moderators. Versions 6.5 to 25 Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10 Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10