The church itself is an unprepossessing reconstruction after a devastating fire of 1771 , but the Brancacci Chapel with the great Masaccio frescoes miraculously survived intact .
The church was fully intact until the fire of 1850 .