Marco,

I could reproduce the error with your test program.
Have not found what is happening, but will take a closer look.