Add a protection when drawing a canvas from a ROOT file

Prevent potential crash when drawing a canvas with the same name than a canvas already embedded in one of the browser's tab.
This should prevent the crash described in the Jira issue #ROOT-6088