The latest release has rewritten the logic around window state restoration:
I’m not 100% certain that this will fix the issue, but it adds additional logging, and simplifies the code significantly, so if it’s not resolved, we’re a step closer to fixing it at least.