Remove some unnecessary bindings of same-window-* variables.