Recursion error in PWM setter bugfix