Robustness of Community Detection to Random Geometric Perturbations