Fix for ROOT-5280
THistPainter and TPainter3DAlgorithms are now the same in 5.34 and 6.00