This can happen if there's too much liquid, either from the veggies or meat, if you're adding it. Be sure to drain any excess liquids before baking to prevent a runny casserole.