Fix superview reference bug in iOS 7