Pricking the top of shortbread with a fork helps the thick dough to bake evenly and avoid cracking.