Yes, I managed to fix it by changing the API version. I'm using the loader in React, and now my code looks like this:
const { isLoaded } = useJsApiLoader({ googleMapsApiKey: process.env.REACT_APP_GOOGLE_MAPS_API_KEY, version: "3.58", });