Fixes a crash in sway, and potentially other compositors, when a toplevel enters an output before Qt has created a QScreen for it.