Fixed one of the problems with the PanelLibrary implementation which was
causing the fragments to display all stacked up.