Fixed null pointer exception on line 196 of Glyph2D