Media library broken for all subsites except primary

When in the media library none of the images show up. If you click one to quick edit nothing shows up. If you click the edit again then the image appears.
If you attach the image to a blog article or use it in the page builder or as featured image you get nothing. Nothing shows up in the admin or the main site sides.

Where it gets wierd is that the main site (side ID 4) all the images are working just fine. Any new site created has the same image problems. The only one that works is the main site.

I have changed themes, disabled all plugins, even cleaned up the database and nothing seems to be working.

I reset the permalinks too.