This will fix several misplaced window issues, which happen in some cases with multiple monitors. I know this is very late for more changes, and another option would be to revert both 710b94e212501727b3b1b8deea06a7757df43d51 and b936f7426e33508538f48f7d20e7d7cb47cc1f32 (and reintroduce some imo smaller regression instead).