instance.UI.addEventListener(instance.UI.Events.VIEWER_LOADED, () => { instance.setFitMode(instance.FitMode.FitWidth) })