This has happened a few times: I bake the chocolate brownie cookies from Epicurious. In the oven, they puff up. They look great. I take them out of the oven, and about 5 minutes later they're flat as pancakes. It happens with other cookies, too. I've tried cooking them longer, but it doesn't seem to work and it dries them out. Any ideas about how to prevent this? Thanks.