If your frosting isn’t thick enough, the cookies won’t be able to hold their shape once assembled. The best way to thicken your frosting is to add more powdered sugar. It should form stiff peaks once whipped.