:poop: For some reason pane switching needs this