Regularization for the mean curvature equation