How to set the default image link type for gallery images

When I set the Image Default Link Type to “file” or file in my site settings, the insert into post button in the insert media modal for posts and pages stops working.

I want the default link to action in the gallery settings to be “Media File” instead of “attachment page.” Do you know how to achieve this for all sites in a multisite network?

Thanks – Mark