Fixed bug where bot was standing at the edge and had no possibility to move and began to calc his move forever