Fix GLProgram bug
Add offset for GLCurveObject