title bar fix for issue #672