Restrict AI to the height of the tiles