This typically happens when the cream cheese was blended too much. If there is too much air in the mixture, it will be too soft to hold its shape. Try adding more powdered sugar to the mixture to firm it back up again.