fix: 🐛 display/crash if the layer to render is from hidden