Fix glyph closure with class==0

As reported by cibu.  Untested.