Don't show empty tooltips (fixes #392)