Better fix for previous  stack overflow, fixed repaint issue when changing synths