Fix UI misplacement on search tab