correct the bug of hide keyboard.