Option to Make Items Stay Straight up When Placing Them

There’s times when I want to build something on a foundation that isn’t flat, like the beach in Condo. But whenever I do, the building I make is very crooked and whenever I press the button to straighten up my walls, it never fixes the issue.