This is a workaround for mozilla/persona#4159