compatibility fix for no canvas-enabled browsers