title bar fix for issue #812