Changed from _gl. to Canvas3D. when accessing GL enums.