DELTASPIKE-752 additional check to avoid issues with custom client-window implementation