You might have added too much flour to your M&M sugar cookie dough. I like this recipe because it strikes a balance between a super fluffy cookie and a flatter one, but if you're partial to a flatter cookie, I suggest adding a little less flour.