Using Record Window with a non-rectangular window like the one in the attached picture, replaces the background with a black color (see second picture). It would be great if the color could be chosen, or better yet, made transparent (if the video format supports such thing).
Recording result adds a black background:
Recording result adds a black background: