Fixed issue with GUI PWM