Fixed bug in PanelView