Cornstarch is activated when it comes to a boil. So be sure the peach pie filling is bubbling all the way to the center of the pie. Once it's boiling in the center, the pie is done, and it will set properly once completely cooled.