Bugs: Logout from mapped domain and customize from mapped domain

BUG 1:
If logged in and visiting a mapped domain, then trying to go to the logout button at the top admin bar, it will try to go to:

https://www.mappeddomain.com/wp-login.php?action=logout&_wpnonce=XXXXXXX

This will fail because the https for the mapped domain doesnt exist.

Instead it should go to:

https://networkname.com/mappeddomainblog/wp-login.php?action=logout&_wpnonce=XXXXXXX

BUG 2:
If logged in and visiting a mapped domain, then trying to go to the customize secation at the top admin bar, loading the customize area will fail...i am guessing because it is internally trying to reach the https version of the mapped domain when instead it should be trying to visit: https://networkname.com/mappeddomainblog/wp-admin/customize.php

Please test/try and don't be shy with those points!