The genus of the Erd\H{o}s-R\'enyi random graph and the fragile genus property