Thumbprint cookies spread because the butter was too soft. If you use melted butter, cookies will often turn out flat.