I’ve seen similar behavior with Flatpak apps before. Even if XModules are installed correctly, Flatpak’s sandboxing can block access to external binaries or folders. Since it’s already working in Chromium/Firefox, that pretty much confirms the setup is fine.