First, use a full-fat mascarpone cheese. Due to the higher fat content, it should hold its shape better. You can also chill frosting before you use to ensure it holds its shape.