Better memory use in foreground draw.