Instead we just cache the monitor number and get out of it the nsscreen when it is needed. This is a requirement since it nsscreen it is not supposed to be cached. Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/1312
This is a backport of a patch by Tom Schoonjans, https://bugzilla.gnome.org/show_bug.cgi?id=779184