diff --git a/src/ui/composable_view.rs b/src/ui/composable_view.rs
index 5b308d686ffb93da6ae0d07eaec6674e33095084..db58813273f2e34aa1368fe12487da795d7a0a3c 100644
--- a/src/ui/composable_view.rs
+++ b/src/ui/composable_view.rs
@@ -95,15 +95,15 @@ impl eframe::App for ComposableView {
             }
         }
 
-        // A central panel covers the remainder of the screen, i.e. whatever area is left after adding other panels.
-        egui::CentralPanel::default().show(ctx, |ui| {
-            self.panes_tree.ui(&mut self.behavior, ui);
-        });
-
         // Show a panel at the bottom of the screen with few global controls
         egui::TopBottomPanel::bottom("bottom_control").show(ctx, |ui| {
             egui::global_theme_preference_switch(ui);
         });
+
+        // A central panel covers the remainder of the screen, i.e. whatever area is left after adding other panels.
+        egui::CentralPanel::default().show(ctx, |ui| {
+            self.panes_tree.ui(&mut self.behavior, ui);
+        });
     }
 }