Chilling the dough prior to baking will help with this. And if the indent disappears a bit while baking, simply press it down again right when the cookies come out of the oven.