and I think I might have fixed the mysterious panel disappearing issue