Optimize drawing things.