fixed the scale bug reported by iRi-E.
fixed the bug that two rigid bodies connected can not collide.
fixed dependency cycles.