Fix wonky loading/unloading of panels on rapid navigation.