Kodi v18 allows using the original dimensions in the cache (using 9999) as the value. Perhaps setting this will stop the “resizing” when exporting. I think it would as that seems to be the purpose but I haven’t checked if the exported file is a bit-perfect copy of the original or not.