Ugh. This must've been a view cache issue.
I deleted the @mediaLibraryStyles blade directive, viewed the site, added it back and this time the url was correct.
@mediaLibraryStyles