Fix the issue which textfield could be hidden if user has already scrolled down