You probably have another add-on moving it then. For me the search box is right beneath the top-most horizontal divider by default, I checked the anchor in Zgoo and it's the one from xml <Anchor point="TOPRIGHT" offsetX="-26" offsetY="68" />
Anyway, don't call libCIF:disableSearchBoxes() from AGS. It's there for FilterIt, which has its own handling.
edit: Ah ok, now I'm staring at my instance of your picture. Ok I need to figure out how it got there
edit2: I think it's the layout offsets. I just need to crunch some numbers.