Joint physics

- Fixed collision detection.
- Fixed bugs in joint that was causing app to crash when a node was touched.