Fix Firefox button bug