fix FF bug when using ESC to clear search results