Remove the -removeFromSuperview implementation, as checking the window ivar in -didMoveToWindow does the same job but better.