Domain mapping settings not taking effect

We force SSL on the backend using your domain mapping settings. However, this is our staging site - so what i found was that those links back there now mimic however the backend is loaded.
If the backend is loaded via http, those links will be http, and vice versa regardless of what the actual domain mapping settings are. More details in chat.