fix text input height to prevent flickering