Fix broken hint.text. Only display when hint is non-empty.