what solution, there’s no solution. The “rectangle” option captures everything including effects, any other method (because it’s strictly “talking” to the window manager) not. Simple as that.
Imho there are more important issues for Plasma and KDE than talking about being annoyed by having to crop a rectangle.