Fix fucking firefox events