Some snapping fixes for in-page searches