Change how render-header-buttons method works.

The reimplemented method needs to call call-next-method if it wants
the grid filter to be displayed.