Try this to check if that’s the problem and/or to rule it out as a cause for the issue:
Settings > Display > Font and display size, then set Display size to anything else than whatever you currently have.
Reapply the search bar (or reboot the phone), just in case.