"Visit Site" links to wrong site on multisite with domain mapping

I have a multisite set up using domain mapping on 1 sub site. The mapping works great, but now our “Visit Site” links in the dashboard and admin bar click to the wrong site. There is no pattern and it seems very random, and not on all of them. Basically when you’re on 1 subsite and go up to the admin bar > subsite > visit site it takes you to the root site. And on our mapped domain “visit site” for said subdomain takes you to the site you are currently on.

They are just all jumbled. Any ideas?