x11: Try harder to find the right monitor
If we deal with a panel, we end up with no monitor, and crash, which isn't great and isn't necessary.
Fixes: #3900 (closed)
If we deal with a panel, we end up with no monitor, and crash, which isn't great and isn't necessary.
Fixes: #3900 (closed)