test AI movement and fix bug with duplicating head when stuck