fixes a bug that prevented showing torque when using the createLayer method

be careful with this check: https://github.com/CartoDB/cartodb.js/blob/3.11.09/src/vis/vis.js#L290