mac: Don't create button without title, fixes #631