Fixed issue with PanelButtons.