Use double buffering when rendering. Significantly improves rendering pe...

...rformance on OS X.