Make pane null before inserting new one