This happens when the pie isn't cooked long enough, or there wasn't enough thickening agent added. But if you pre-cook the filling, you'll never have a runny pie again!