diff --git a/src/containers/gui.jsx b/src/containers/gui.jsx
index 44f77c537b29b8414e5fc778d95bfbad2611daa2..c9b81b7b1c97a74a171e947918b137836b370225 100644
--- a/src/containers/gui.jsx
+++ b/src/containers/gui.jsx
@@ -48,7 +48,7 @@ class GUI extends React.Component {
         this.props.vm.attachAudioEngine(this.audioEngine);
         this.props.vm.initialized = true;
         const fontPromises = [];
-        if (document.fonts && document.fonts.values.length) {
+        if (document.fonts && document.fonts.values() && document.fonts.values().next) {
             for (const fontFace of document.fonts.values()) {
                 fontPromises.push(fontFace.loaded);
                 fontFace.load();