Handle some edge cases with binding events to the window object (which is also a...