With the new version 2.1.21 released yesterday of javax.faces this problem seems to have disappeared.
Declare the new version:
org.glassfish
javax.faces
2.1.21
and replace the javax.faces.jar in the glassfish modules folder replacing the javax.faces.jar for the new version 2.1.21.