Here's a sure-fire way to avoid this problem.
Put the pie dough in the pie dish and crimp the edges.
Chill until firm.
Line the inside of the pie shell with aluminum foil or baking parchment.
Fill the entire shell (all the way up the sides) with rice, beans, coffee beans, etc, pressing gently into the corners.
Bake at 350 for about 10-15 minutes for partially baked shell (firm dough and lightly browned) or 20-25 minutes (or until golden) for a fully baked shell.
Cool slightly and lift out the foil or parchment liner with the beans, etc.
Cool shell completely.
Reserve beans, rice etc. for future use.
PS I have a bag of a mixture of old coffee beans, rice, black beans, alfalfa seeds and other detritus that I've been using for about 10 years. Smells funny while baking, but still works great.