fix #40641: incorrect import/export of relative-x
Merge pull request #1508 from MarcSabatella/40641-relative-x

fix #40641: incorrect import/export of relative-x