Fixed movement directions, trying to prevent infinite loops - this may be a stalemate.