Maximum indoor sunlight will help new stem growth to be thicker and stronger and better able to grow upright. However, even in the best conditions, these plants will eventually succumb to gravity and start to lean and also lose lower leaves. The solution is to prune the leaning and elongated stems back to a height of 1-2 inches. New growth will then emerge just at the point where you make the pruning cuts and grow upward from there. You can propagate the cuttings in porous potting mix or water.