Second Window click minimizes Last Epoch

When I am playing Last Epoch in Online mode in Windowed mode (with or without borders) and I click on my second monitor, the game is auto-minimized. It did not do this before the last patch. Is this “working as intended” or is this a bug?