In this case `self.superview` is `nil`, since `self.window.view == self`. The behaviour without these constraints is aptly described as "seriously weird".