Fixed mglDrawArrays being NULL