Fix background layer visibility