Coating them with a bit of flour helps prevent them from sinking as much while baking. Nothing is foolproof, but the flour helps. Toss either the fresh or frozen berries in flour - whichever you are using, toss them.