Fixed showing of title bar when opening in maximized state