Corrected a serious crash issue in GL.