Make the switch render correctly