XIGetClientPointer() may return the device id '0' when called early. This patch makes pointer cursors work in nested mutter Wayland sessions again. https://bugzilla.gnome.org/show_bug.cgi?id=729462