Very strange.

Can you provide a compilable minimal example that shows that behavior?

Cheers,
_