Firefox: Fix team saving

Surprisingly it worked in Chrome, which is why I never noticed.