Surface.cpp: add updateBuffersGeometry function back