I cannot reproduce that behavior in a small script (going to take a look again later however).

(The whole system is external btw, I only access it via liteC)