Fix positioning on resize.

Found this issue when resizing the browser mid search.