Use double buffering when rendering. Significantly improves rendering performance on OS X.