fix vanishing debug pane