Firstly, once the tin is lined with pastry return it to the fridge to chill for 20 minutes which will help to avoid shrinkage in the oven. Also don't trim away any excess pastry until you have blind baked the pastry. Leave it overhanging the tin and cut it away just before you add the filling. This ensures you have sufficient pastry coming up the sides of the tin.