Fix: error message ('null is not an object') on non webgl enabled browsers