Those elements are client-sided only.
I had done some job on the actual map (the size of it), making it larger for the current monitor generations (UHD, 2K, 4K, ultrawide and such). There must be a padding/margin behavior which aligns the Forms to their respective positions, as the bigger map was perfectly aligned and centered top/down/left/right without me trying to do anything to its positioning after making it 5x bigger.
As I was booting the server and was playing some time with few friends, I had an idea of putting the NPC window (info and shop panels) and the inventory closer together (4K is horribly annoying in this particular case).
The overall distance from the edge of the entire game window to those said panels are 80px from the left/right taking in.
Should be easy to manipulate via olly, as it was easy to manipulate the map form (and yet people haven't found out how to fix the minimized/smaller sized version of the map viewer

)