fixed issue with .extend()

preventing the option to overwrite `superclass` (and `superview` if it's a view)