I have a Mapbox studio template which already looks the way I want it to, but when I put it in a Leaflet app, after I zoom in past level 17, a lot of the features disappear. Zooming in inside Mapbox studio, everything looks fine. It's only in the Mapbox app. Another peculiar thing is that generating the static image also makes the features disappear.
All the layers have visibility from zoom 0-22, so I don't know what the problem is.