Yes, that's what I was (badly) trying to explain. If you export it as a PNG with Transparency (Alpha channel) you will only export the yellow box. I think if you want the other two shapes to also be part of the exported PNG, then you would have to select them too.
Bookmarks