Changed the order of adding panels to allow the render panel to show