Fixes bug #670396. Without this fix the guard window may not extend over the whole area of the screen after a XRandR reconfiguration. The effect being that mouse events are delivered to invisible windows.