Performance issues with Core Graphics

This bug is also reproducible by adjusting a single CControl, for example CKnob. While adjusting a CKnob, the whole window gets redrawn, redundantly.