Added a condition in the `handleGetFullscreenState` function to return a resolved promise with `false` if the `window.desktop` object is not present. This change ensures that the function behaves correctly in non-desktop environments, preventing potential errors when checking fullscreen state.