Add hack to fix layer visibility toggle.