Fix settings never working in Firefox