Hi I am having an issue with a railing. We are trying to create a custom railing on a staircase. The railing seems to work on the flat surfaces, but on the sloped surface it doesn't follow the slope of the railing. Is there anything we can do to make the railing follow the slope of the staircase?

Operating system used: Windows