Fix longstanding title bug when viewing post/page