fix bug where negative z-index caused the search input to be unselectable