offscreen drawing performance upgrade