Oftentimes, the reason that the butter cookies fall flat is that the butter was too warm when you started to bake. Since butter has a low melting point, it can cause the cookies to spread and become flat. I like to refrigerate the butter cookie dough before scooping the dough onto the baking sheet. This can keep the butter cookies from falling flat.