First, we can see if the mixture is too warm, which will make the butter too soft, and even melt. Leave the frosting in the refrigerator for 30 minutes to an hour. Take it out, and give it a quick mix. If it is still too thin, you can add more powdered sugar (and another pinch of salt) or a tablespoon or two of meringue powder.