Make UISwitch and UISlider render subclasses correctly