firefox input after/before fix