Reported and patched by Vinay Pawar. The drawing method will be set to Overlap on detection of Mesa software rasterizer.