improved performance of ScreenShotBufferExporter slightly
(from 7-8ms to 2-3ms)