Broken (yet) support for restoring the previous pane states