Event fix on Firefox