visual.Window() error

I found this post and it seems like it is the same problem you are having. Hopefully this helps.