fixed division-by-0 bug which teleported all GameObjects to (-nan, -nan)