Added world bounds collision for hero.

The implementation is same with tile collisions with minor modification.