This can occur if you skipped or shortened the chilling time, which is necessary to prevent excess spreading. It can also occur if too little flour or too much coconut oil was used.