Fixes https://gitlab.gnome.org/GNOME/gnome-latex/issues/58 See also: https://bugzilla.gnome.org/show_bug.cgi?id=795920