Fix static cast being off on Canvas::draw_color (the gradient one)