How to restore Preview Editor original size in VS Code after maximising it?

The Preview Editor in VS Code used to display plot.

It’s possible to double click on its title and it will be maximised to see plot better.

But when it double clicking again to exit max mode and put it back to original size - it doesn’t restore original, but takes more space, which is very inconvenient and requires to use drag to put it back.

Screenshots, 3 images 1) Original 2) Maximised 3) Restored