fixed collision out of bounds
Merge pull request #82 from ayaigame/fixes

fixed collision out of bounds