BPC-266: reset mainPanel;