Thanks for following up.
I have checked the things suggested. I followed the Umbraco source-code, and i looks like the host used, originates from: UmbracoContext’s property ‘CleanedUmbracoUrl’
This property seems to be using requesting route host name, and not the setting UmbracoApplicationUrl. I might be wrong - but I’ll stop investigating here.