Cap components transformation

When trying to flip a cap component attached to either bottom or top of the shape, it doesn’t work properly. Any way to fix it?

Can you send me the file?

yes, certainly