i disI disabled the resizable window option, but in some situations the window resizes again.

My team is using Unity to create a game that targets the Windows platform.
Due to the nature of our project, we don’t want to prevent resizing via dragging in windowed mode.
So I disabled the Resizable window option and it seemed to work fine.

If the game started in full screen mode and then switched to windowed mode, the window was not resizable, but if the game ran in windowed mode, the window was resizable again.

Is there any way to fix this issue?