Fix isComposite with empty glyphs

Was broken in 626107c8.