Fix frame access based on named window properties
Fix scoping in sizzle test

See http://ada.adrianlang.de/with-trouble for an explanation of the issue.