Fixed bad reference to window in Subscriber callback.