I think it's because the header template is processed before $thread[title] is set. I don't know if there's a "standard" trick to get around that. I guess if you really wanted to do it you could use a plugin to insert it somehow, using the showthread_complete hook.
navbar isn't done till the end so it could go near the navbar (but I guess it's already in the navbar

).