fix MPS-19871: model access exception on "show tool windows" button