Fix validation error title not setting when placement is 'head'