Page engine - document title is set also in hash-based navigation

When "navigation" is set to "hash" in the site configuration, the title of the page (specified in the page definition) is used to change the title of the document.
This was previously done only in history-based navigation