fixed wrong method call in getDecoratedTitle, fixes #8130