Fixed player crash when using Funkwhale as a PWA (#1157)