One of the common reasons the tart crust shrinks is over-kneading the dough, which overdevelops the gluten. And when heated, it contracts, thus pulling away from the edges of the pan. Make sure that you don't overwork your dough and allow it to rest in the freezer for at least 30 minutes.