ViewFrame: fix search occurrences blinking

When searching something, close the search box, and pressing again
Ctrl+F. A new SearchContext was always created.