try to make glsurface center