Have you seen this behavior again? Could be something related to the MaskedStretch script, but I cannot reproduce it.
Strange errors of this kind happen from time to time on all platforms, without an apparent reason. Sometimes they are hardware-related, sometimes they are interactions with background processes, but tracking them is nearly impossible. If you don't confirm that this is repeatable, let's assume it was "one of those strange things"...