Fix a beers bug on Firefox