Updated to work with vis 3.0.0 + freeze physics