Optimized tile drawing.