@Override
  public @NotNull Dimension getContentSize() {
    return ReadAction.compute(() -> isReleased ? new Dimension() : myView.getPreferredSize());
  }
@Override
  public @NotNull Dimension getContentSize()