Pinned pages show a "Pin" toggle instead of an "unpin" one

If a page is pinned, it shows the pin icon in the titlebar as it should, but the tooltip is wrong.

image