Layer Control button does not work with anymap-ts

The Layer Control button (button in upper right corner of map) does not work in Panel.
Developer of anymap-ts was unable to figure it out. Hoping maybe someone in the community may have a solution.

OS: Windows 11
python==3.13.11
anymap-ts==0.6.0
panel==1.8.7

-----------------------------------------------------------------------------

from anymap_ts import Map
import panel as pn

pn.extension(“ipywidgets”)
m = Map(center=[-84.4, 38.5], zoom=8)
m.height = ‘100%’

map_widget = pn.pane.IPyWidget(m, sizing_mode=“stretch_both”)

pn.template.MaterialTemplate(
site=“Site”,
title=“Sandbox”,
main=map_widget,
).servable()