DDF-271 swapped logic since it was possible for a thin client to error on the second check, thus enabling webgl