[#364] fixed the `onCollision` callback
[#364] fixed most of the examples

Some of them still need more love though