Adjusts appearance hierarchy for search bar's textfield.

Fixes #2730