we have noticed a few problems with scratch and our team is working on it. to help them understand the bug, could you please tell us which OS and browser you are using? are you working with scratchX or the older scratch 2?

Thank you, I transferred your example to the development team, they will work on it, but unfortunately I cannot tell you when this will be solved. You can follow us on twitter if you would like to be updates when new versions of the software come out.https://twitter.com/thymioii