Make sure the marshmallows are covered with cookie dough. This seals them in the cookie and prevents them from leaking and melting outside the cookie.