Thanks for your answer! It has the same effect on different systems. However, I tried to recreate this problem with a simple example but the error didn't appear.
...so maybe something else is causing this. I'll have a closer look and will post it here when I know more.