I don't see how that could be, unless one of your scripts defines its own x=() method without calling a super.
If placing the custom Window script at the bottom doesn't work, then I have no idea what's the problem. My new test project took the change just fine.