Allow old style class names on canvas element