Too much liquid can make macaroons spread too much, especially if you opted for a liquid sweetener or too much condensed milk. For this particular recipe, try to keep the macaroons in a cold place prior to baking. The melted butter from the recipe will harden and will slowly be absorbed by the coconut shreds while baking.