If you notice your cake starting to lean, your cream cheese frosting could be too soft. After your 'frosting' is mixed, refrigerate it for 5 minute. You can also refrigerate your cake for 5-10 minutes to help set it.