Fix element smoothing for input, textarea, etc.