Fixes a syntax error in Window.create

Just a simple syntax error fix.