Icon cut in group corner

You are going to have to figure out exactly what structure you want your group to have. My guess is it should be something like:

Group, "Spot",
    Panel, "Auto",
        Shape, "RoundedRectangle"
        Placeholder
    Panel, "Auto",
        Shape, "Circle",
        TextBlock

There’s other stuff in your code that I can’t figure out because it isn’t indented properly. But I think this is the basic idea of what you want.