To prevent the apples from sinking, toss it in a bowl with flour, making sure its fully coated, then proceed with the rest of the recipe.