Fixed the bug that location fragment input method is still displayed after search