Bug Report: domains mapped with out https will link to wrong admin locations in top tool bar

When an owner of a mapped site is ie http://www.leanna.com is visiting their site while logged in, a tool bar of items will be at the top that allows the owner of the site to quickly visit their dashboard, edit a page, create a new page.

However the linking is off. It should be linking https://networkname.com/leanna/wp-admin/(respective page) however instead it is linking

https://www.leanna.com/wp-admin/(respective page) which will then create a browser error.

Domain mapping needs to recognize that when https has not been mapped for the domain that those admin links at the top need to be pointing to the respective https://networkname.com/leanna/wp-admin locations