Allow the filling to cool slightly before topping with the mashed potatoes. Further, gently dollop the mashed potatoes over the filling and gently spread smooth using a spatula or the back of a spoon. This will help keep even layers and prevent sinking.