Game Editor? Wow, glad to know someone is developing it. I was a fan of it and I even made a private class taught my friends how to use it. Game Editor was the first game builder I learned. I still remember, I was so excited after I understood the actor concept and managed to build a simple animation using it.
Now, back to the topic.
I copied, pasted and run the code you provided. Not surprisingly, I didn't get any error as you mentioned. So, can you please provide the source code that can show the issue so we can download, run, inspect and help you?