Speedup painting.