GUI: Fix crash with split panes.