The box stops when it arraives the grid's edge. No seg fault any more.
Box shaking when can't go any further.