Firstly make sure you're using a solid vegan butter, rather than margarine. Margarine has a higher liquid content so is more liable to spread as it bakes. Secondly, be sure to chill your vegan cookies or dough before baking.