Chilling the cookie dough in the refrigerator for at least an hour before baking helps prevent excessive spreading. If you find that your cookies are still spreading too much, you can try adding a little more gluten-free flour to the dough.