Fixing collision check for rigidbodies, by calling update transfrom