nodes – The Leaflet Map displays in maintenance mode, but when this mode is turned off, the map does not render

Leaflet map displays correctly in node view while in maintenance mode, but when maintenance mode is turned off, the map does not render.

This is not an issue in other views. It only happens in node view.

Thanks for your guidance.