Surface.h: add updateBuffersGeometry function back