Optimize logo drawing.