Add protections against potential negative values (may produce a crash with OpenGL)
Merge branch 'v5-34-00-patches' of https://root.cern.ch/git/root into v5-34-00-patches