fk Anton
Fixed out-of bounds error on collisionMap

Also indixing collisionMap works as intended