More drawing optimizations.