Here is all you have to do is drill with a #25 drill and tap with a 10-24 tap and insert a long 10-24 set screw with lock tite on it. The set screw will limit the amount that the kickstands leg can extend in the down position. Stock it will come all the way down and allow the bike to lean over too far and then its on its side. you can use a different size screw if you want and use a bolt or regular screw in place of the set screw.
I don't have a before picture but its stands nicely now
My finger is pointing to the screw where it sticks out on the inside of the stand and limits it travel. You can see a mark on the stands leg where the set screw has left its mark on the leg
I have an allen wrench in the set screw adjusting it to make the bike stand up better the Allen wrench is hard to see but it is there if you look closely. It looks like a black rod. the darn picture is just a little out of focus. but you get the idea.
This is an easy fix for a bike that likes to lay down all the time if your kickstand is like this one.