Overheating the marshmallow mixture when melting the marshmallows is the likely culprit. Instead of melting the mixture in a saucepan on the stove (this quickly becomes too hot), melt the marshmallows and butter in the microwave.