There are a couple of reasons the cookies will overspread. If you grease the cookie sheet, this adds too much excess fat to the dough. There also could have been too much banana in the dough, causing excess moisture. Be sure to measure exactly 1/2 cup of mashed banana. Lastly, if you did not chill the dough, the cookies are likely to overspread.