Check if `container` is not `window` to call the right properties

Fixes #1
Add keywords
Bump