If your thumbprint cookies spread, it's likely because the butter was too warm. To prevent this from happening, be sure to chill the dough before baking.