I believe I have discovered a bug accidentally. I have a screen arrangement as the one you can see in the image attached.
While iterating through the available screens and grabbing the window with this arrangement, the app crashes.
A quick example attached. Please let me know if you need further information.