ViewFrame: more robust code when using the start_mark

If the search box is hidden, the start_mark was deleted, but some
callbacks can be called later that uses the start_mark. So now the code
in the callbacks checks if the start_mark exists before using it.