Ninja world collision to check right and bottom bounds

The world collision algorithm need to check the right and bottom of the
bounds in case the bound’s x or y are not equal to 0
Merge pull request #571 from dreadhorse/dev

Ninja world collision to check right and bottom bounds