Global Site Search displaying page title in search box

I have this widget in the sidebar of every page, and it’s acting a bit funny. Instead of being blank, it’s pre-filled with the URL slug for that page (minus the first couple of letters).

Which part of the code do I need to change to fix this?