Don't use strict equality when checking parent against window